package city.spring.modules.material.repository;

import city.spring.modules.material.entity.MaterialreceiptapprovalEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 存储库：领用审核
 *
 * @author 谢金婷
 * @date 2020-06-26 22:39:08
 */
@Repository
public interface MaterialreceiptapprovalRepository extends BaseMapper<MaterialreceiptapprovalEntity> {

    /**
     * 根据领用单查找审核记录
     *
     * @param receiptId
     * @return
     */
    List<MaterialreceiptapprovalEntity> getCheckByReceiptId(@Param("receiptId") String receiptId);
}